package com.example.demo.myMap;

import com.example.demo.myMap.impl.MyHashMap;

/**
 * @Auther: zwg
 * @Date: 2018/9/5 16:21
 * @Description:
 */
public class MyMapTest {
    public static void main(String[] args) {
        MyMap<String, String> myMap = new MyHashMap<String,String>(10,0.75f);
        int xx = 500;
        for(int i=0;i<xx;i++){
            myMap.put("key"+i,"abs"+i);
        }

        for (int i=0;i<xx;i++){
            System.out.println("value"+i+"="+myMap.get("key"+i));
        }

    }
}
